﻿

using System;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace WCFModel.MessageContract
{
    /// <summary>
    /// 分数
    /// </summary>
    [DataContract]
    public class Scores : SecEntity
    {
        /// <summary>
        /// 分数ID
        /// </summary>
        [MessageBodyMember]
        public Guid ScoreId { get; set; }

        /// <summary>
        /// 分数
        /// </summary>
        [MessageBodyMember]
        public Double Score { get; set; }

        /// <summary>
        /// 课程ID
        /// </summary>
        [MessageBodyMember]
        public Guid CourseId { get; set; }

        /// <summary>
        /// 学生ID
        /// </summary>
        [MessageBodyMember]
        public Guid StudentId { get; set; }
    }
}
